/*
 * Copyright (c) 2016-2017 fulihui.com All right reserved
 * Project: information-core-170307
 * File name: CategorySaveRequest.java
 */

package com.fulihui.information.request;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;
import org.near.servicesupport.request.AbstractServiceRequest;

/**
 * @author Willard.Hu on 2017/3/7 0007.
 */
@Getter
@Setter
public class CategorySaveRequest extends AbstractServiceRequest {
    private static final long serialVersionUID = 9080466340794412503L;
    /** 类目代码 唯一标识 */
    @NotBlank
    private String  code;
    /** 类目名称 */
    private String  name;
    /** 父类目代码 */
    private String  parentCode;
    /** 产品代码，数据隔离用 */
    private String  productCode;
    /** 是否显示广告 */
    private Boolean showAdvert;
    /** 是否显示类目 */
    private Boolean display;
    /** 类目对应的唤起内容 */
    private String  href;
}
